<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>用户登录</title>
</head>

<body>
    <h1>登录临床医学考研学习账号</h1>
    {% if error_message %}
    <p style="color: red;">{{ error_message }}</p>
    {% endif %}
    <form method="post">
        {% csrf_token %}
        <label for="username">用户名：</label><input type="text" id="username" name="username" required><br>
        <label for="password">密码：</label><input type="password" id="password" name="password" required><br>
        <input type="submit" value="登录">
    </form>
</body>

</html>